package week4;

public class Counter {
    private int counts;
public Counter() {
    counts = 0;
}
 public int click()
  {
      counts+=1;
      return counts;
 }

    public int getCounts() {

        return counts;
    }
    public int reset(){
    counts=0;
    return counts;
    }
}

